#ifndef __UART_SDK_H__
#define __UART_SDK_H__

#include "main.h"

#define BUFFER_SIZE     1024

extern INT4 uart_fd;
extern BOOL uartState;
extern CHR  *serial_name;


INT4 uartEnable(VOID);
INT4 uartWrite(const CHR *);
INT4 uartClearFirstLine(VOID);
INT4 uartRead(CHR *);
INT4 uartDisable(VOID);
INT4 uartgetState(VOID);
INT4 uartConfig(INT4, INT4, INT4, INT4, CHR, INT4);


#endif //__UART_SDK_H__


